package com.miniapi.api.entities;

import lombok.ToString;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Entity(name = "api_qrcodeForPromotion")
public class QrCodeForPromotion {
    @Id
    private String id; // mediaId
    private String ownerOpenId;
    private String qrCodeType; // 永久推广二维码：p ; 临时推广二维码：t
    private String ticket; // ticket
    private Date createTime;
}
